package com.some;

public class BiTe02 {
    public int[] process(int[] arr, int n) {
        // write code here
        int[] res = new int[arr.length - 1];
        int index = 0;
        for (int i = 0; i < arr.length; i++) {
            if (i != arr.length - n) {
                res[index++] = arr[i];
            }
        }
        return res;
    }

    public static void main(String[] args) {

    }
}
